Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Refactor] Form validation translated error #20228

Merged

Conversation

fedirjh
Copy link
Contributor

@fedirjh fedirjh commented Jun 6, 2023

cc @luacmartins

Details

This pr is a follow-up to the previous changes made in PR #19324 and PR #20093. While those PRs introduced initial updates to improve error handling by implementing key-based error storage, it was identified that there are still remaining form validation methods that require updates to align with the new mechanism.

The purpose of this follow-up PR is to comprehensively cover all form validation methods and ensure they return the error key rather than the translated string. By doing so, we aim to achieve consistent and streamlined error handling across the entire application, eliminating any remnants of the old translation-based approach.

Fixed Issues

$ #20472
#20093
#20093 (comment)

Tests

Test 1 : Workspace Room Name

  1. Open create new workspace room name form
  2. Test that all error messages are displayed correctly, we have 4 errors:
    • Reserved room name : e.g admins
    • Invalid room name : e.g TestName . Room names can only include lowercase letters, numbers and hyphens
    • Empty room name
    • Used room name: enter an existing room name
  3. Select an existing room
  4. Click edit room
  5. Test that all error messages are displayed correctly similar to step 2

Test 2 : Task Title

  1. Open create new Task form
  2. Leave task title empty and verify that error message is displayed Please enter a title
  3. Create new task and navigate to it
  4. Click edit task title
  5. Enter empty task title and verify that error message is displayed Please enter a title

Test 3 : Personal Details

  1. Open Settings -> Profile -> Display Name
  2. Enter invalid name and verify the errors are displayed , we have 2 error
    • Name cannot contain a comma or semicolon
    • First name cannot contain the words Expensify or Concierge
    • Enter this name Concierge;, and verify both errors are displayed
  3. Open Settings -> Profile -> Personal details -> Legal Name
  4. Enter invalid name and verify the errors are displayed , we have 2 error
    • This field is required.
    • Name cannot contain a comma or semicolon
  5. Open Settings -> Profile -> Personal details -> Date of birth
  6. Leave it empty an press save. Verify that empty error message is displayed
  7. Open Settings -> Profile -> Personal details -> Home address
  8. Leave all inputs empty.
  9. Verify that every input has an error message

Test 4 : Secondary Contact

  1. Open Settings -> Profile -> Contact methods -> New Contact Method
  2. Verify that error message are displayed for every invalid case , we have 3 errors:
    • The Entered Contact Method already exists. -> used contact
    • Contact method is required. -> empty contact
    • Invalid contact method. -> invalid contact

Test 5 : Security

  1. Open Settings -> Security -> Change password
  2. Leave inputs empty and press save
  3. Verify that error are displayed
  4. Open Settings -> Security -> Close Account
  5. Leave inputs empty and press close account
  6. Verify that error are displayed

Test 6 : Debit Card

  1. Open Settings -> Payments -> Add debit card
  2. Leave all fields empty and press save
  3. Verify that all errors are displayed

Test 7 : Workspace

  1. Open Settings -> workspaces -> Select workspace -> settings
  2. Leave name as empty and press save
  3. Verify an error message is displayed You need to define a name for your workspace.
  4. Navigate to Reimbursements -> Track distance
  5. Enter an invalid Rate
  6. Verify Verify an error message is displayed Please enter a valid rate

Test 8 : Manual Bank Account

  1. Open Settings -> workspaces -> Select workspace -> Bank Account -> Add Manual Bank
  2. Enter invalid routing and account number and press Continue
  3. Verify Error messages are displayed properly
  4. Enter valid information and press continue to reach Company information step
  5. Leave all fields empty and press continue
  6. Verify Error messages are displayed properly for every form field
  7. Enter valid information and press continue to reach Personal information step
  8. Leave all fields empty and press continue
  9. Verify Error messages are displayed properly for every form field
  • Verify that no errors appear in the JS console

Offline tests

QA Steps

  • Verify that no errors appear in the JS console

PR Author Checklist

  • I linked the correct issue in the ### Fixed Issues section above
  • I wrote clear testing steps that cover the changes made in this PR
    • I added steps for local testing in the Tests section
    • I added steps for the expected offline behavior in the Offline steps section
    • I added steps for Staging and/or Production testing in the QA steps section
    • I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
    • I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).
  • I included screenshots or videos for tests on all platforms
  • I ran the tests on all platforms & verified they passed on:
    • Android / native
    • Android / Chrome
    • iOS / native
    • iOS / Safari
    • MacOS / Chrome / Safari
    • MacOS / Desktop
  • I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
  • I followed proper code patterns (see Reviewing the code)
    • I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
    • I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
    • I verified that comments were added to code that is not self explanatory
    • I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
    • I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
      • If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:
    • I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
    • I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
    • I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
    • I verified the JSDocs style guidelines (in STYLE.md) were followed
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I followed the guidelines as stated in the Review Guidelines
  • I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
  • I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
  • I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
  • I verified that if a function's arguments changed that all usages have also been updated correctly
  • If a new component is created I verified that:
    • A similar component doesn't exist in the codebase
    • All props are defined accurately and each prop has a /** comment above it */
    • The file is named correctly
    • The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
    • The only data being stored in the state is data necessary for rendering and nothing else
    • For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
    • Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
    • All JSX used for rendering exists in the render method
    • The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions
  • If any new file was added I verified that:
    • The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
  • If a new CSS style is added I verified that:
    • A similar style doesn't already exist
    • The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
  • I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android

@luacmartins
Copy link
Contributor

@fedirjh let me know when this is ready for review

@fedirjh
Copy link
Contributor Author

fedirjh commented Jun 7, 2023

Web Tests

Test 1 : Workspace Room Name Screenshot 2023-06-07 at 7 25 29 AM Screenshot 2023-06-07 at 7 25 40 AM Screenshot 2023-06-07 at 7 26 08 AM Screenshot 2023-06-07 at 7 26 31 AM Screenshot 2023-06-07 at 7 28 34 AM Screenshot 2023-06-07 at 7 28 40 AM Screenshot 2023-06-07 at 7 28 47 AM Screenshot 2023-06-07 at 7 28 52 AM
Test 2 : Task Title Screenshot 2023-06-07 at 7 53 49 AM Screenshot 2023-06-07 at 7 54 05 AM Screenshot 2023-06-07 at 7 53 30 AM
Test 3 : Profile Details Screenshot 2023-06-07 at 8 09 01 AM Screenshot 2023-06-07 at 8 09 08 AM Screenshot 2023-06-08 at 7 03 16 AM Screenshot 2023-06-07 at 8 12 55 AM Screenshot 2023-06-07 at 8 13 15 AM Screenshot 2023-06-07 at 8 14 46 AM Screenshot 2023-06-07 at 8 16 02 AM
Test 4 : Secondary Contact

Screenshot 2023-06-07 at 8 36 55 AM Screenshot 2023-06-07 at 8 37 01 AM Screenshot 2023-06-07 at 8 37 28 AM

Test 5 : Security

Screenshot 2023-06-07 at 9 36 20 AM Screenshot 2023-06-07 at 9 36 31 AM

Test 6 : Debit Card

Screenshot 2023-06-07 at 9 11 36 PM

Test 7 : Workspace

Screenshot 2023-06-07 at 9 46 36 AM Screenshot 2023-06-07 at 9 52 20 AM

Test 8 : Bank Account Screenshot 2023-06-08 at 2 49 30 AM Screenshot 2023-06-08 at 2 49 51 AM Screenshot 2023-06-08 at 2 49 55 AM Screenshot 2023-06-08 at 2 50 55 AM Screenshot 2023-06-08 at 2 50 59 AM

IOS Tests

Test 1 : Workspace Room Name Screenshot 2023-06-08 at 5 30 02 AM Screenshot 2023-06-08 at 5 30 07 AM Screenshot 2023-06-08 at 5 30 12 AM Screenshot 2023-06-08 at 5 30 49 AM Screenshot 2023-06-08 at 5 30 56 AM Screenshot 2023-06-08 at 5 31 01 AM Screenshot 2023-06-08 at 5 31 06 AM
Test 2 : Task Title Screenshot 2023-06-08 at 5 34 23 AM Screenshot 2023-06-08 at 5 34 45 AM
Test 3 : Profile Details Screenshot 2023-06-08 at 5 46 20 AM Screenshot 2023-06-08 at 5 46 56 AM Screenshot 2023-06-08 at 5 47 17 AM Screenshot 2023-06-08 at 5 47 38 AM Screenshot 2023-06-08 at 5 47 55 AM Screenshot 2023-06-08 at 5 48 02 AM
Test 4 : Secondary Contact Screenshot 2023-06-08 at 5 51 45 AM Screenshot 2023-06-08 at 5 51 58 AM Screenshot 2023-06-08 at 5 52 29 AM
Test 5 : Security Screenshot 2023-06-08 at 5 54 31 AM Screenshot 2023-06-08 at 5 54 56 AM
Test 6 : Debit Card Screenshot 2023-06-08 at 5 55 59 AM
Test 7 : Workspace Screenshot 2023-06-08 at 5 57 05 AM Screenshot 2023-06-08 at 5 57 18 AM
Test 8 : Bank Account Screenshot 2023-06-08 at 6 05 25 AM Screenshot 2023-06-08 at 6 05 44 AM Screenshot 2023-06-08 at 6 05 47 AM Screenshot 2023-06-08 at 6 09 37 AM

mWeb Safari Tests

Test 1 : Workspace Room Name Screenshot 2023-06-08 at 7 29 44 AM Screenshot 2023-06-08 at 7 29 59 AM Screenshot 2023-06-08 at 7 30 27 AM Screenshot 2023-06-08 at 7 30 33 AM Screenshot 2023-06-08 at 7 30 36 AM Screenshot 2023-06-08 at 7 30 41 AM Screenshot 2023-06-08 at 7 29 55 AM
Test 2 : Task Title Screenshot 2023-06-08 at 7 35 39 AM Screenshot 2023-06-08 at 7 36 01 AM
Test 3 : Profile Details Screenshot 2023-06-08 at 7 36 53 AM Screenshot 2023-06-08 at 7 37 04 AM Screenshot 2023-06-08 at 7 37 07 AM Screenshot 2023-06-08 at 7 37 36 AM Screenshot 2023-06-08 at 7 37 49 AM Screenshot 2023-06-08 at 7 37 55 AM Screenshot 2023-06-08 at 7 38 07 AM
Test 4 : Secondary Contact Screenshot 2023-06-08 at 7 39 01 AM Screenshot 2023-06-08 at 7 39 06 AM Screenshot 2023-06-08 at 7 39 21 AM
Test 5 : Security Screenshot 2023-06-08 at 7 39 53 AM Screenshot 2023-06-08 at 7 40 00 AM
Test 6 : Debit Card Screenshot 2023-06-08 at 7 40 21 AM
Test 7 : Workspace Screenshot 2023-06-08 at 7 44 13 AM Screenshot 2023-06-08 at 7 44 26 AM
Test 8 : Bank Account Screenshot 2023-06-08 at 7 41 15 AM Screenshot 2023-06-08 at 7 41 21 AM Screenshot 2023-06-08 at 7 41 38 AM Screenshot 2023-06-08 at 7 42 00 AM Screenshot 2023-06-08 at 7 42 06 AM

Android Tests

Test 1 : Workspace Room Name

Screenshot 2023-06-08 at 8 07 23 AM Screenshot 2023-06-08 at 8 07 17 AM Screenshot 2023-06-08 at 8 05 36 AM

Test 2 : Task Title Screenshot 2023-06-08 at 8 08 40 AM Screenshot 2023-06-08 at 8 09 15 AM
Test 3 : Profile Details Screenshot 2023-06-08 at 8 09 51 AM Screenshot 2023-06-08 at 8 09 59 AM Screenshot 2023-06-08 at 8 10 08 AM Screenshot 2023-06-08 at 8 11 24 AM Screenshot 2023-06-08 at 8 11 32 AM Screenshot 2023-06-08 at 8 12 51 AM
Test 4 : Secondary Contact Screenshot 2023-06-08 at 8 10 37 AM Screenshot 2023-06-08 at 8 10 46 AM Screenshot 2023-06-08 at 8 11 03 AM
Test 5 : Security Screenshot 2023-06-08 at 8 13 23 AM Screenshot 2023-06-08 at 8 13 33 AM
Test 6 : Debit Card Screenshot 2023-06-08 at 8 13 52 AM
Test 7 : Workspace Screenshot 2023-06-08 at 8 14 11 AM Screenshot 2023-06-08 at 8 14 24 AM
Test 8 : Bank Account Screenshot 2023-06-08 at 8 14 43 AM Screenshot 2023-06-08 at 8 16 02 AM Screenshot 2023-06-08 at 8 16 20 AM

mWeb Chrome Tests

Test 1 : Workspace Room Name Screenshot 2023-06-08 at 8 41 10 AM Screenshot 2023-06-08 at 8 41 18 AM Screenshot 2023-06-08 at 8 41 27 AM Screenshot 2023-06-08 at 8 41 35 AM Screenshot 2023-06-08 at 8 42 56 AM Screenshot 2023-06-08 at 8 43 03 AM Screenshot 2023-06-08 at 8 43 08 AM Screenshot 2023-06-08 at 8 43 19 AM
Test 2 : Task Title Screenshot 2023-06-08 at 8 45 01 AM Screenshot 2023-06-08 at 8 45 13 AM
Test 3 : Profile Details Screenshot 2023-06-08 at 8 46 11 AM Screenshot 2023-06-08 at 8 46 28 AM Screenshot 2023-06-08 at 8 46 40 AM Screenshot 2023-06-08 at 8 46 52 AM Screenshot 2023-06-08 at 8 47 09 AM
Test 4 : Secondary Contact Screenshot 2023-06-08 at 8 48 06 AM Screenshot 2023-06-08 at 8 48 19 AM Screenshot 2023-06-08 at 8 48 23 AM
Test 5 : Security Screenshot 2023-06-08 at 8 49 05 AM Screenshot 2023-06-08 at 8 49 13 AM
Test 6 : Debit Card Screenshot 2023-06-08 at 8 49 51 AM
Test 7 : Workspace Screenshot 2023-06-08 at 8 50 06 AM Screenshot 2023-06-08 at 8 50 19 AM
Test 8 : Bank Account Screenshot 2023-06-08 at 8 50 33 AM Screenshot 2023-06-08 at 8 51 38 AM Screenshot 2023-06-08 at 8 51 46 AM Screenshot 2023-06-08 at 8 52 55 AM Screenshot 2023-06-08 at 8 53 05 AM

Desktop Tests

Test 1 : Workspace Room Name Screenshot 2023-06-08 at 8 57 15 AM Screenshot 2023-06-08 at 8 57 21 AM Screenshot 2023-06-08 at 8 57 25 AM Screenshot 2023-06-08 at 8 57 35 AM Screenshot 2023-06-08 at 8 58 00 AM Screenshot 2023-06-08 at 8 58 06 AM Screenshot 2023-06-08 at 8 58 12 AM Screenshot 2023-06-08 at 8 58 19 AM
Test 2 : Task Title Screenshot 2023-06-08 at 8 59 05 AM Screenshot 2023-06-08 at 8 59 10 AM
Test 3 : Profile Details Screenshot 2023-06-08 at 9 00 09 AM Screenshot 2023-06-08 at 9 00 26 AM Screenshot 2023-06-08 at 9 00 36 AM Screenshot 2023-06-08 at 9 00 41 AM Screenshot 2023-06-08 at 9 00 47 AM Screenshot 2023-06-08 at 9 00 53 AM
Test 4 : Secondary Contact Screenshot 2023-06-08 at 9 01 12 AM Screenshot 2023-06-08 at 9 01 18 AM Screenshot 2023-06-08 at 9 01 23 AM
Test 5 : Security Screenshot 2023-06-08 at 9 03 42 AM Screenshot 2023-06-08 at 9 03 47 AM
Test 6 : Debit Card Screenshot 2023-06-08 at 9 03 58 AM
Test 7 : Workspace Screenshot 2023-06-08 at 9 04 12 AM Screenshot 2023-06-08 at 9 04 23 AM
Test 8 : Bank Account Screenshot 2023-06-08 at 9 07 33 AM Screenshot 2023-06-08 at 9 14 54 AM Screenshot 2023-06-08 at 9 15 11 AM Screenshot 2023-06-08 at 9 15 13 AM

@fedirjh fedirjh force-pushed the Form-validation-translate-enhancements branch from e4ddba0 to bbbca31 Compare June 7, 2023 08:01
@luacmartins luacmartins self-requested a review June 7, 2023 14:58
@fedirjh
Copy link
Contributor Author

fedirjh commented Jun 12, 2023

As you see video, translate is done 2 times. So 2nd time, already translated message is passed as key, throw error and return key (translated message) as fallback.

Translate is done twice only for concatenated errors (multiline errors) generated by ErrorUtils.addErrorMessage. I pushed a fix for that.

@fedirjh fedirjh requested a review from 0xmiros June 12, 2023 07:40
@0xmiros
Copy link
Contributor

0xmiros commented Jun 12, 2023

One minor thing:

  • Typo in Test1:

Reserved room name : e.g admin > admins

@0xmiros
Copy link
Contributor

0xmiros commented Jun 12, 2023

Reviewer Checklist

  • I have verified the author checklist is complete (all boxes are checked off).
  • I verified the correct issue is linked in the ### Fixed Issues section above
  • I verified testing steps are clear and they cover the changes made in this PR
    • I verified the steps for local testing are in the Tests section
    • I verified the steps for Staging and/or Production testing are in the QA steps section
    • I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
    • I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
  • I checked that screenshots or videos are included for tests on all platforms
  • I included screenshots or videos for tests on all platforms
  • I verified tests pass on all platforms & I tested again on:
    • Android / native
    • Android / Chrome
    • iOS / native
    • iOS / Safari
    • MacOS / Chrome / Safari
    • MacOS / Desktop
  • If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
  • I verified proper code patterns were followed (see Reviewing the code)
    • I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
    • I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
    • I verified that comments were added to code that is not self explanatory
    • I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
    • I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
    • I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
    • I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
    • I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
    • I verified the JSDocs style guidelines (in STYLE.md) were followed
  • If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
  • I verified that this PR follows the guidelines as stated in the Review Guidelines
  • I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
  • I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
  • I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
  • If a new component is created I verified that:
    • A similar component doesn't exist in the codebase
    • All props are defined accurately and each prop has a /** comment above it */
    • The file is named correctly
    • The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
    • The only data being stored in the state is data necessary for rendering and nothing else
    • For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
    • Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
    • All JSX used for rendering exists in the render method
    • The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions
  • If any new file was added I verified that:
    • The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory
  • If a new CSS style is added I verified that:
    • A similar style doesn't already exist
    • The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
  • If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
  • If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
  • If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
  • If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
  • If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
  • I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

Personal Details

web-3.mov
Mobile Web - Chrome

Manual Bank Account

mchrome-8.mov
mchrome-8.2.mov
Mobile Web - Safari

Task Title

msafari-2.mov
Desktop

Secondary Contact, Security, Debit Card

desktop4-6.mov
iOS

Workspace Room Name

ios-1.mov
ios-1.2.mov
Android

Workspace

android-7.mov

Copy link
Contributor

@0xmiros 0xmiros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested all possible cases.
@luacmartins all yours!

src/libs/Localize/index.js Outdated Show resolved Hide resolved
Copy link
Contributor

@0xmiros 0xmiros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops! I thought you applied my suggestion

luacmartins
luacmartins previously approved these changes Jun 12, 2023
Copy link
Contributor

@luacmartins luacmartins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @fedirjh we have conflicts

luacmartins
luacmartins previously approved these changes Jun 12, 2023
Copy link
Contributor

@luacmartins luacmartins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! @stitesExpensify all yours

@luacmartins
Copy link
Contributor

Gonna merge to avoid more conflicts since we are touching 34 files.

@luacmartins luacmartins merged commit 37537ff into Expensify:main Jun 14, 2023
@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

🚀 Deployed to staging by https://github.com/luacmartins in version: 1.3.28-0 🚀

platform result
🤖 android 🤖 failure ❌
🖥 desktop 🖥 failure ❌
🍎 iOS 🍎 failure ❌
🕸 web 🕸 failure ❌

@OSBotify
Copy link
Contributor

🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@fedirjh fedirjh deleted the Form-validation-translate-enhancements branch June 28, 2023 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants